package com.sms.service.impl;

import com.sms.dao.LoginInfoMapper;
import com.sms.pojo.LoginInfo;
import com.sms.service.LoginInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginInfoServiceImpl implements LoginInfoService {

    @Autowired
    private LoginInfoMapper loginInfoMapper;

    @Override
    public int insertInf(LoginInfo loginInfo) {
        return loginInfoMapper.insertInf(loginInfo);
    }

    @Override
    public int updateInf(LoginInfo loginInfo) {
        return loginInfoMapper.updateInf(loginInfo);
    }

    @Override
    public int deleteInf(Integer id) {
        return loginInfoMapper.deleteInf(id);
    }

    @Override
    public LoginInfo selectInf(LoginInfo loginInfo) {
        return loginInfoMapper.selectInf(loginInfo);
    }
}
